﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace MethodWorx.CMS.UI.Models.Shared
{
    public class ConstraintDetails
    {
        [Range(0, 9999, ErrorMessage="Value must be at least 0")]
        public int? MinimumRequired { get; set; }
        [Range(1, 9999, ErrorMessage="Value must be greater than 0")]
        public int? MaximumAllowed { get; set; }
        public string NameConstraint { get; set; }
    }
}